package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.PurchaseListGoods;
import com.atguigu.jxc.entity.PurchaseListGoodsCount;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * ClassName: PurchaseListGoodsService
 * Description:
 * Date: 2022/1/17 15:21
 *
 * @version:
 * @since JDK 1.8
 */
public interface PurchaseListGoodsService {

    void savePurchaseListGoods(PurchaseList purchaseList, String purchaseListGoodsStr, HttpSession session);

    List<PurchaseList> getPurchaseListGoods(String purchaseNumber, Integer supplierId,Integer state, String sTime, String eTime);

    List<PurchaseListGoods> getGoodsList(Integer purchaseListId);

    void deletePurchaseListGoods(Integer purchaseListId);

    void updateState(Integer purchaseListId);

    List<PurchaseListGoodsCount> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);

}
